Skip to main content

MongoDB

MongoDB is an open-source NoSQL database known for its flexibility, scalability, and JSON-like document storage. It's ideal for modern applications, offering horizontal scaling, robust querying, and high availability through replica sets.

In Smartsign, MongoDB is used for various caches and queues.

To install MongoDB, follow these steps:

  1. Download MongoDB:

  2. Run the Installer:

    • Locate the downloaded installer (usually a .msi file) and double-click it to run the installer.
  3. Choose Setup Type:

    • Select "Complete" for a full installation with all components.
  4. Install MongoDB as a Service:

    • Select the "Run service as Network Service user" option to install MongoDB as a Windows service. This is the recommended way to run MongoDB on Windows.
  5. Specify Data Directory:

    • Choose a location for your MongoDB data directory. The default location is usually fine, but you can change it if needed.
  6. Configure MongoDB Compass (Optional):

    • You can choose to install MongoDB Compass, a graphical user interface for MongoDB, during the installation process if you wish.
  7. Install MongoDB:

    • Click the "Install" button to begin the installation process. It may take a few minutes to complete.
  8. Completing the Installation:

    • Once the installation is finished, click the "Finish" button.
  9. Verify the service is running

    • Check that the service "MongoDB Server (MongoDB)" is up and running